test-rofiles-fuse: Actually check out via hardlinks
authorColin Walters <walters@verbum.org>
Tue, 16 Aug 2016 17:07:51 +0000 (13:07 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 16 Aug 2016 21:22:28 +0000 (21:22 +0000)
The test suite was actually doing something before, just
not quite what I intended.  Without `-U` for bare-user checkouts
we end up doing a copy.

Now, a future commit will change how rofiles work, which would cause
the test suite to permit inplace mutation for non-hardlinked files.
So let's ensure they *are* hardlinked.

Closes: #462
Approved by: jlebon

tests/test-rofiles-fuse.sh

index 736747f73f8cb496ae611326f888cfa29a95af7c..4dfec5145a5f3eb147c37aef672cd23dfc60319f 100755 (executable)
@@ -30,7 +30,7 @@ echo "1..6"
 
 mkdir mnt
 
-$OSTREE checkout test2 checkout-test2
+$OSTREE checkout -U test2 checkout-test2
 
 rofiles-fuse checkout-test2 mnt
 cleanup_fuse() {